package ms.pms.entity;

import lombok.Data;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * Project Name: ms
 * File Name: RolePermission
 * Package Name: ms.pms.entity
 * Date: 2018/6/21  15:40
 * Copyright (c) 2018, tianyul All Rights Reserved.
 */
@Data
@Table(name = "t_role_permission")
public class RolePermission implements Serializable {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    private Long roleId;

    private Long permissionId;
}
